unaryMinus

@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun AnyInt.unaryMinus(): Int
@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun NegativeInt.unaryMinus(): PositiveInt
@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun NonZeroInt.unaryMinus(): NonZeroInt
@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun PositiveInt.unaryMinus(): NegativeInt
@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun StrictlyNegativeInt.unaryMinus(): StrictlyPositiveInt
@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun StrictlyPositiveInt.unaryMinus(): StrictlyNegativeInt

Returns the negative of this integer.